//package com.monkeybrother.spring.aop;
//
//import org.aspectj.lang.annotation.After;
//import org.aspectj.lang.annotation.Aspect;
//import org.aspectj.lang.annotation.Before;
//import org.aspectj.lang.annotation.Pointcut;
//import org.springframework.stereotype.Component;
//
//@Component
//@Aspect
//public class AspectJ {
//
//    @Pointcut("execution(* com.monkeybrother.spring.service.SonAccountService.*(..))")
//    public void interfaceAspect(){
//
//    }
//
//
//    @Pointcut("execution(* com.monkeybrother.spring.service.impl.*.*(..))")
//    public void implAspect(){
//
//    }
//
//
//    @Pointcut("execution(public * com.monkeybrother.spring.service.*.*(..))")
//    public void packageAspect(){
//
//    }
//
//
//    @After("interfaceAspect()")
//    public void interfaceAfter(){
//        System.out.println("切面-接口-起作用");
//    }
//
//    @After("packageAspect()")
//    public void packageAfter(){
//        System.out.println("切面-包-起作用");
//    }
//
//    @After("implAspect()")
//    public void implAfter(){
//        System.out.println("切-接口实现-起作用");
//    }
//
////    @Before("interfaceAspect()")
////    public void interfaceBefore(){
////        System.out.println("切面-接口-起作用");
////    }
////
////    @Before("packageAspect()")
////    public void packageBefore(){
////        System.out.println("切面-包-起作用");
////    }
////
////    @Before("implAspect()")
////    public void implBefore(){
////        System.out.println("切面-接口实现-起作用");
////    }
//
//
//}
